package grammer;

import grammer.components.Component;
import grammer.components.WeatherEnum;

public class WeatherSubject implements Member {
	private Component weather;
	private String value;

	public WeatherSubject(Component weather, String value) {
		super();
		this.weather = weather;
		this.setValue(value);
	}

	@Override
	public Component getMember() {
		return getSubject();
	}

	public WeatherEnum getSubject() {
		return (WeatherEnum) weather;
	}

	public void setSubject(WeatherEnum weather) {
		this.weather = weather;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}
}
